package com.huaxiafinance.management.service;

import com.huaxiafinance.management.dto.response.QueryRoleDto;
import com.huaxiafinance.management.model.RolePermission;

import java.util.List;

public interface RolePermissionService {

  public List<QueryRoleDto> queryRolePermission(Integer id) throws Exception;

  public boolean addRolePermission(RolePermission rolePermission) throws Exception;

  public boolean updateRolePermission(RolePermission rolePermission) throws Exception;

  public boolean delRolePermission(Integer id) throws Exception;
}
